<!-- 文件路径更新建议：c:\Users\Administrator\Desktop\web\list\src\views\MinePage.vue -->
<template>
  <div class="mine-page">
    <h2>我的页面</h2>
    <button class="go-profile-btn" @click="goProfile">进入个人信息</button>
  </div>
</template>

<script setup>
import { useRouter } from 'vue-router'

const router = useRouter()
const goProfile = () => {
  router.push('/profile')
}
</script>

<style scoped>
.mine-page {
  padding: 20px;
}
.go-profile-btn {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 8px 16px;
  cursor: pointer;
}
</style>